package com.dwxt.community.dao;

import com.dwxt.community.entity.CustomerProblem;
import com.dwxt.community.entity.CustomerProblemExample;
import com.dwxt.community.entity.vo.CustomerProblemVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface CustomerProblemMapper {
    long countByExample(CustomerProblemExample example);

    int deleteByExample(CustomerProblemExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(CustomerProblem record);

    int insertSelective(CustomerProblem record);

    List<CustomerProblem> selectByExampleWithBLOBs(CustomerProblemExample example);

    List<CustomerProblem> selectByExample(CustomerProblemExample example);

    CustomerProblem selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") CustomerProblem record, @Param("example") CustomerProblemExample example);

    int updateByExampleWithBLOBs(@Param("record") CustomerProblem record, @Param("example") CustomerProblemExample example);

    int updateByExample(@Param("record") CustomerProblem record, @Param("example") CustomerProblemExample example);

    int updateByPrimaryKeySelective(CustomerProblem record);

    int updateByPrimaryKeyWithBLOBs(CustomerProblem record);

    int updateByPrimaryKey(CustomerProblem record);

    List<CustomerProblemVO> selectCustomerList(String username);
}